<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Pinoco Test asset</title>
    </head>
    <body>
	<div metal:define-macro="alltests">
        <h2>URL conversion</h2>
        <ul>
            <li>url: subpage.html = <span tal:content="url:subpage.html">url</span></li>
            <li>url: subdir/index.html = <span tal:content="url:subdir/index.html">url</span></li>
            <li>url: /abspath/index.html = <span tal:content="url:/abspath/index.html">url</span></li>
            <li>url: /media/images/existing.jpg = <span tal:content="url:/media/images/existing.jpg">url</span></li>
            <li>url: /media/images/missing.jpg = <span tal:content="url:/media/images/missing.jpg">url</span></li>
            <li>url: action.php?param=will_be_alive = <span tal:content="url:action.php?param=will_be_alive">url</span></li>
        </ul>
        
        <h2>Available variables of $this</h2>
        <ul>
            <li tal:repeat="item this">$this-&gt;<span tal:content="repeat/item/key">name</span> = <span tal:content="item">value</span></li>
        </ul>
	</div>
    </body>
</html>
